import request from '@/utils/request'


export const createMonitorApp = (data)=>{
  return request({
    url:`/monitor/admin/app/create`,
    method:'post',
    data
  })
}


export const queryMonitorApp = (data)=>{
  return request({
    url:`/monitor/admin/app/query`,
    method:'post',
    data
  })
}
export const queryMonitorError = (data)=>{
  return request({
    url:`/monitor/admin/runtime/error`,
    method:'post',
    data
  })
}
export const queryRuntime = (data)=>{
  return request({
    url:`/monitor/admin/runtime/query`,
    method:'post',
    data
  })
}
export const queryPerf = (data)=>{
  return request({
    url:`/monitor/admin/runtime/perf`,
    method:'post',
    data
  })
}
export const queryTracking = (data)=>{
  return request({
    url:`/monitor/admin/runtime/trackEvent`,
    method:'post',
    data
  })
}
